#include <stdio.h>

int factorial(int i) {
  if (i <= 1)
    return 1;
  return i + factorial(i-1);
}

int main() {
  printf("main");

  int result = factorial(3);
  printf("factorial 3 = %d", result);
}